<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Livox SDK API: sdk_core/include/third_party/spdlog/spdlog/sinks/wincolor_sink.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="1.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Livox SDK API
   &#160;<span id="projectnumber">V2.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('wincolor__sink_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">wincolor_sink.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="wincolor__sink_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Copyright(c) 2016 spdlog</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// Distributed under the MIT License (http://opensource.org/licenses/MIT)</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef SPDLOG_H</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="spdlog_8h.html">spdlog/spdlog.h</a>&quot;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="common_8h.html">spdlog/common.h</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="console__globals_8h.html">spdlog/details/console_globals.h</a>&quot;</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="null__mutex_8h.html">spdlog/details/null_mutex.h</a>&quot;</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="sink_8h.html">spdlog/sinks/sink.h</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;mutex&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;wincon.h&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacespdlog.html">spdlog</a> {</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">namespace </span>sinks {</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * Windows color console sink. Uses WriteConsoleA to write to the console with</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * colors</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> OutHandle, <span class="keyword">typename</span> ConsoleMutex&gt;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html">   30</a></span>&#160;<span class="keyword">class </span><a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_sink</a> : <span class="keyword">public</span> <a class="code" href="classspdlog_1_1sinks_1_1sink.html">sink</a></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;{</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a77ef730edcfe9f6f000bed8c846aa6bf">   33</a></span>&#160;    <span class="keyword">const</span> WORD <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a77ef730edcfe9f6f000bed8c846aa6bf">BOLD</a> = FOREGROUND_INTENSITY;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a8635f904f1dad9e60aaefe307e076f1d">   34</a></span>&#160;    <span class="keyword">const</span> WORD <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a8635f904f1dad9e60aaefe307e076f1d">RED</a> = FOREGROUND_RED;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a39daa889c7395936e2caf95baf2c4181">   35</a></span>&#160;    <span class="keyword">const</span> WORD <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a39daa889c7395936e2caf95baf2c4181">GREEN</a> = FOREGROUND_GREEN;</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a6cbc30363fd20b20c1cd0f22211f0612">   36</a></span>&#160;    <span class="keyword">const</span> WORD <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a6cbc30363fd20b20c1cd0f22211f0612">CYAN</a> = FOREGROUND_GREEN | FOREGROUND_BLUE;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a32682f38336031a282e1681622f1cff4">   37</a></span>&#160;    <span class="keyword">const</span> WORD <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a32682f38336031a282e1681622f1cff4">WHITE</a> = FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#aa148f87d2c8b234c306009268ac7b812">   38</a></span>&#160;    <span class="keyword">const</span> WORD <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#aa148f87d2c8b234c306009268ac7b812">YELLOW</a> = FOREGROUND_RED | FOREGROUND_GREEN;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a4ed05c6780bc65806080c88202d80577">   40</a></span>&#160;    <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a4ed05c6780bc65806080c88202d80577">wincolor_sink</a>()</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        : out_handle_(OutHandle::handle())</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        , mutex_(ConsoleMutex::mutex())</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    {</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        colors_[<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8badd5891a1416461ee9e7d7e19d41af51f">level::trace</a>] = <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a32682f38336031a282e1681622f1cff4">WHITE</a>;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        colors_[<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8baea632f71a316dac4dbaf2d98534c7ca5">level::debug</a>] = <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a6cbc30363fd20b20c1cd0f22211f0612">CYAN</a>;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        colors_[<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba7f09db55ad64d87e4124f10582cb016f">level::info</a>] = <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a39daa889c7395936e2caf95baf2c4181">GREEN</a>;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        colors_[<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba6c371ca09668dd308a1997eab47def05">level::warn</a>] = YELLOW | <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a77ef730edcfe9f6f000bed8c846aa6bf">BOLD</a>;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        colors_[<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba4d723e295b98a75c1263d85fc165045f">level::err</a>] = RED | <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a77ef730edcfe9f6f000bed8c846aa6bf">BOLD</a>;                         <span class="comment">// red bold</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        colors_[<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba309b214a2b8629b6cf0048ce916e8a58">level::critical</a>] = BACKGROUND_RED | WHITE | <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a77ef730edcfe9f6f000bed8c846aa6bf">BOLD</a>; <span class="comment">// white bold on red background</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        colors_[<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba917591d8c0e89f6e6247c95c67809a1a">level::off</a>] = 0;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    }</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a229d666b7880d587aefa8c5d999acfb4">   53</a></span>&#160;    <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a229d666b7880d587aefa8c5d999acfb4">~wincolor_sink</a>()<span class="keyword"> override</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        this-&gt;<a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#ae2737f6eadcaf2023810c8a0f0518924">flush</a>();</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    }</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a4ed05c6780bc65806080c88202d80577">wincolor_sink</a>(<span class="keyword">const</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_sink</a> &amp;other) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_sink</a> &amp;<a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a54ca784b8f5e1ee9c2adcda3125c3515">operator=</a>(<span class="keyword">const</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_sink</a> &amp;other) = <span class="keyword">delete</span>;</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="comment">// change the color for the given level</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a914a0d9aed02627be8cd287a2dee9916">   62</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a914a0d9aed02627be8cd287a2dee9916">set_color</a>(<a class="code" href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8b">level::level_enum</a> <a class="code" href="classspdlog_1_1sinks_1_1sink.html#a026877b46301b9bd0d22afc65c2f3eca">level</a>, WORD <a class="code" href="namespacefmt_1_1v5.html#afcb360f8436b357c4d6f62a3fd73afc0">color</a>)</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    {</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        std::lock_guard&lt;mutex_t&gt; lock(mutex_);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        colors_[<a class="code" href="classspdlog_1_1sinks_1_1sink.html#a026877b46301b9bd0d22afc65c2f3eca">level</a>] = <a class="code" href="namespacefmt_1_1v5.html#afcb360f8436b357c4d6f62a3fd73afc0">color</a>;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    }</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#ad2408ac4697dfee3c6631ceae432da64">   68</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#ad2408ac4697dfee3c6631ceae432da64">log</a>(<span class="keyword">const</span> <a class="code" href="structspdlog_1_1details_1_1log__msg.html">details::log_msg</a> &amp;msg) <span class="keyword">final</span> <span class="keyword">override</span></div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    {</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        std::lock_guard&lt;mutex_t&gt; lock(mutex_);</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">fmt::memory_buffer</a> formatted;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <a class="code" href="classspdlog_1_1sinks_1_1sink.html#aa0d19f09363a11b63b4a9b1d46f8a4b3">formatter_</a>-&gt;format(msg, formatted);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        <span class="keywordflow">if</span> (msg.color_range_end &gt; msg.color_range_start)</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        {</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;            <span class="comment">// before color range</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            print_range_(formatted, 0, msg.color_range_start);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            <span class="comment">// in color range</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;            <span class="keyword">auto</span> orig_attribs = set_console_attribs(colors_[msg.level]);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            print_range_(formatted, msg.color_range_start, msg.color_range_end);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;            ::SetConsoleTextAttribute(out_handle_,</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;                orig_attribs); <span class="comment">// reset to orig colors</span></div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;                               <span class="comment">// after color range</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;            print_range_(formatted, msg.color_range_end, formatted.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a65f234c9d1b66d591d838e56cfd53f5b">size</a>());</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        }</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <span class="keywordflow">else</span> <span class="comment">// print without colors if color range is invalid</span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        {</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            print_range_(formatted, 0, formatted.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a65f234c9d1b66d591d838e56cfd53f5b">size</a>());</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        }</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    }</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#ae2737f6eadcaf2023810c8a0f0518924">   92</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#ae2737f6eadcaf2023810c8a0f0518924">flush</a>() final<span class="keyword"> override</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="keyword">    </span>{</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        <span class="comment">// windows console always flushed?</span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    }</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a61ce970e409e842377a1cf2c764553f1">   97</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#a61ce970e409e842377a1cf2c764553f1">set_pattern</a>(<span class="keyword">const</span> std::string &amp;pattern) <span class="keyword">override</span> <span class="keyword">final</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    {</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        std::lock_guard&lt;mutex_t&gt; lock(mutex_);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <a class="code" href="classspdlog_1_1sinks_1_1sink.html#aa0d19f09363a11b63b4a9b1d46f8a4b3">formatter_</a> = std::unique_ptr&lt;spdlog::formatter&gt;(<span class="keyword">new</span> <a class="code" href="classspdlog_1_1pattern__formatter.html">pattern_formatter</a>(pattern));</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    }</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classspdlog_1_1sinks_1_1wincolor__sink.html#ae9d81f19a78193d0b6da7854ffaa7b23">  103</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html#ae9d81f19a78193d0b6da7854ffaa7b23">set_formatter</a>(std::unique_ptr&lt;spdlog::formatter&gt; sink_formatter) <span class="keyword">override</span> <span class="keyword">final</span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    {</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        std::lock_guard&lt;mutex_t&gt; lock(mutex_);</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        <a class="code" href="classspdlog_1_1sinks_1_1sink.html#aa0d19f09363a11b63b4a9b1d46f8a4b3">formatter_</a> = std::move(sink_formatter);</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    }</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keyword">using</span> mutex_t = <span class="keyword">typename</span> ConsoleMutex::mutex_t;</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="comment">// set color and return the orig console attributes (for resetting later)</span></div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    WORD set_console_attribs(WORD attribs)</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    {</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        CONSOLE_SCREEN_BUFFER_INFO orig_buffer_info;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        ::GetConsoleScreenBufferInfo(out_handle_, &amp;orig_buffer_info);</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        WORD back_color = orig_buffer_info.wAttributes;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        <span class="comment">// retrieve the current background color</span></div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        back_color &amp;= <span class="keyword">static_cast&lt;</span>WORD<span class="keyword">&gt;</span>(~(FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY));</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <span class="comment">// keep the background color unchanged</span></div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        ::SetConsoleTextAttribute(out_handle_, attribs | back_color);</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        <span class="keywordflow">return</span> orig_buffer_info.wAttributes; <span class="comment">// return orig attribs</span></div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    }</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="comment">// print a range of formatted message to console</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keywordtype">void</span> print_range_(<span class="keyword">const</span> <a class="code" href="classfmt_1_1v5_1_1basic__memory__buffer.html">fmt::memory_buffer</a> &amp;formatted, <span class="keywordtype">size_t</span> start, <span class="keywordtype">size_t</span> <a class="code" href="namespacefmt_1_1v5_1_1internal.html#a1f190af8f5561392e03519562384d3b8">end</a>)</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    {</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        <span class="keyword">auto</span> size = <span class="keyword">static_cast&lt;</span>DWORD<span class="keyword">&gt;</span>(end - start);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        ::WriteConsoleA(out_handle_, formatted.<a class="code" href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a384f1304da6ce18c4713368327354479">data</a>() + start, size, <span class="keyword">nullptr</span>, <span class="keyword">nullptr</span>);</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    }</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    HANDLE out_handle_;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    mutex_t &amp;mutex_;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    std::unordered_map&lt;level::level_enum, WORD, level::level_hasher&gt; colors_;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;};</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="namespacespdlog_1_1sinks.html#a93242506c736c358ca4ef36286dedb41">  136</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_stdout_sink_mt</a> = <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_sink&lt;details::console_stdout, details::console_mutex&gt;</a>;</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="namespacespdlog_1_1sinks.html#ad668215540fc681bd8051e6a8a0c714c">  137</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_stdout_sink_st</a> = <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_sink&lt;details::console_stdout, details::console_nullmutex&gt;</a>;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="namespacespdlog_1_1sinks.html#a44bdf82d709a56703eb208cd584529e5">  139</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_stderr_sink_mt</a> = <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_sink&lt;details::console_stderr, details::console_mutex&gt;</a>;</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="namespacespdlog_1_1sinks.html#a23305ec4888b5d6d70335c0ae86b2b05">  140</a></span>&#160;<span class="keyword">using</span> <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_stderr_sink_st</a> = <a class="code" href="classspdlog_1_1sinks_1_1wincolor__sink.html">wincolor_sink&lt;details::console_stderr, details::console_nullmutex&gt;</a>;</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;} <span class="comment">// namespace sinks</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;} <span class="comment">// namespace spdlog</span></div><div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8ba6c371ca09668dd308a1997eab47def05"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba6c371ca09668dd308a1997eab47def05">spdlog::level::warn</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00116">common.h:116</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_aa148f87d2c8b234c306009268ac7b812"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#aa148f87d2c8b234c306009268ac7b812">spdlog::sinks::wincolor_sink::YELLOW</a></div><div class="ttdeci">const WORD YELLOW</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00038">wincolor_sink.h:38</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_a54ca784b8f5e1ee9c2adcda3125c3515"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#a54ca784b8f5e1ee9c2adcda3125c3515">spdlog::sinks::wincolor_sink::operator=</a></div><div class="ttdeci">wincolor_sink &amp; operator=(const wincolor_sink &amp;other)=delete</div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8ba917591d8c0e89f6e6247c95c67809a1a"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba917591d8c0e89f6e6247c95c67809a1a">spdlog::level::off</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00119">common.h:119</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1basic__memory__buffer_html"><div class="ttname"><a href="classfmt_1_1v5_1_1basic__memory__buffer.html">fmt::v5::basic_memory_buffer</a></div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00464">format.h:464</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1sink_html_aa0d19f09363a11b63b4a9b1d46f8a4b3"><div class="ttname"><a href="classspdlog_1_1sinks_1_1sink.html#aa0d19f09363a11b63b4a9b1d46f8a4b3">spdlog::sinks::sink::formatter_</a></div><div class="ttdeci">std::unique_ptr&lt; spdlog::formatter &gt; formatter_</div><div class="ttdef"><b>Definition:</b> <a href="sink_8h_source.html#l00050">sink.h:50</a></div></div>
<div class="ttc" id="classspdlog_1_1pattern__formatter_html"><div class="ttname"><a href="classspdlog_1_1pattern__formatter.html">spdlog::pattern_formatter</a></div><div class="ttdef"><b>Definition:</b> <a href="pattern__formatter_8h_source.html#l01014">pattern_formatter.h:1014</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_a61ce970e409e842377a1cf2c764553f1"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#a61ce970e409e842377a1cf2c764553f1">spdlog::sinks::wincolor_sink::set_pattern</a></div><div class="ttdeci">void set_pattern(const std::string &amp;pattern) overridefinal</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00097">wincolor_sink.h:97</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_a32682f38336031a282e1681622f1cff4"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#a32682f38336031a282e1681622f1cff4">spdlog::sinks::wincolor_sink::WHITE</a></div><div class="ttdeci">const WORD WHITE</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00037">wincolor_sink.h:37</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_a229d666b7880d587aefa8c5d999acfb4"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#a229d666b7880d587aefa8c5d999acfb4">spdlog::sinks::wincolor_sink::~wincolor_sink</a></div><div class="ttdeci">~wincolor_sink() override</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00053">wincolor_sink.h:53</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html">spdlog::sinks::wincolor_sink</a></div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00030">wincolor_sink.h:30</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8b"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8b">spdlog::level::level_enum</a></div><div class="ttdeci">level_enum</div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00111">common.h:111</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_ae2737f6eadcaf2023810c8a0f0518924"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#ae2737f6eadcaf2023810c8a0f0518924">spdlog::sinks::wincolor_sink::flush</a></div><div class="ttdeci">void flush() finaloverride</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00092">wincolor_sink.h:92</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8ba7f09db55ad64d87e4124f10582cb016f"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba7f09db55ad64d87e4124f10582cb016f">spdlog::level::info</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00115">common.h:115</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_ae9d81f19a78193d0b6da7854ffaa7b23"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#ae9d81f19a78193d0b6da7854ffaa7b23">spdlog::sinks::wincolor_sink::set_formatter</a></div><div class="ttdeci">void set_formatter(std::unique_ptr&lt; spdlog::formatter &gt; sink_formatter) overridefinal</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00103">wincolor_sink.h:103</a></div></div>
<div class="ttc" id="null__mutex_8h_html"><div class="ttname"><a href="null__mutex_8h.html">null_mutex.h</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8baea632f71a316dac4dbaf2d98534c7ca5"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8baea632f71a316dac4dbaf2d98534c7ca5">spdlog::level::debug</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00114">common.h:114</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1basic__buffer_html_a65f234c9d1b66d591d838e56cfd53f5b"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a65f234c9d1b66d591d838e56cfd53f5b">fmt::v5::internal::basic_buffer::size</a></div><div class="ttdeci">std::size_t size() const </div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00250">core.h:250</a></div></div>
<div class="ttc" id="sink_8h_html"><div class="ttname"><a href="sink_8h.html">sink.h</a></div></div>
<div class="ttc" id="classfmt_1_1v5_1_1internal_1_1basic__buffer_html_a384f1304da6ce18c4713368327354479"><div class="ttname"><a href="classfmt_1_1v5_1_1internal_1_1basic__buffer.html#a384f1304da6ce18c4713368327354479">fmt::v5::internal::basic_buffer::data</a></div><div class="ttdeci">T * data()</div><div class="ttdef"><b>Definition:</b> <a href="core_8h_source.html#l00256">core.h:256</a></div></div>
<div class="ttc" id="console__globals_8h_html"><div class="ttname"><a href="console__globals_8h.html">console_globals.h</a></div></div>
<div class="ttc" id="namespacespdlog_html"><div class="ttname"><a href="namespacespdlog.html">spdlog</a></div><div class="ttdef"><b>Definition:</b> <a href="async_8h_source.html#l00027">async.h:27</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8badd5891a1416461ee9e7d7e19d41af51f"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8badd5891a1416461ee9e7d7e19d41af51f">spdlog::level::trace</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00113">common.h:113</a></div></div>
<div class="ttc" id="spdlog_8h_html"><div class="ttname"><a href="spdlog_8h.html">spdlog.h</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_a39daa889c7395936e2caf95baf2c4181"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#a39daa889c7395936e2caf95baf2c4181">spdlog::sinks::wincolor_sink::GREEN</a></div><div class="ttdeci">const WORD GREEN</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00035">wincolor_sink.h:35</a></div></div>
<div class="ttc" id="structspdlog_1_1details_1_1log__msg_html"><div class="ttname"><a href="structspdlog_1_1details_1_1log__msg.html">spdlog::details::log_msg</a></div><div class="ttdef"><b>Definition:</b> <a href="log__msg_8h_source.html#l00016">log_msg.h:16</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1sink_html_a026877b46301b9bd0d22afc65c2f3eca"><div class="ttname"><a href="classspdlog_1_1sinks_1_1sink.html#a026877b46301b9bd0d22afc65c2f3eca">spdlog::sinks::sink::level</a></div><div class="ttdeci">level::level_enum level() const </div><div class="ttdef"><b>Definition:</b> <a href="sink_8h_source.html#l00040">sink.h:40</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_html_afcb360f8436b357c4d6f62a3fd73afc0"><div class="ttname"><a href="namespacefmt_1_1v5.html#afcb360f8436b357c4d6f62a3fd73afc0">fmt::v5::color</a></div><div class="ttdeci">color</div><div class="ttdef"><b>Definition:</b> <a href="color_8h_source.html#l00050">color.h:50</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8ba4d723e295b98a75c1263d85fc165045f"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba4d723e295b98a75c1263d85fc165045f">spdlog::level::err</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00117">common.h:117</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_a4ed05c6780bc65806080c88202d80577"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#a4ed05c6780bc65806080c88202d80577">spdlog::sinks::wincolor_sink::wincolor_sink</a></div><div class="ttdeci">wincolor_sink()</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00040">wincolor_sink.h:40</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_a6cbc30363fd20b20c1cd0f22211f0612"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#a6cbc30363fd20b20c1cd0f22211f0612">spdlog::sinks::wincolor_sink::CYAN</a></div><div class="ttdeci">const WORD CYAN</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00036">wincolor_sink.h:36</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1sink_html"><div class="ttname"><a href="classspdlog_1_1sinks_1_1sink.html">spdlog::sinks::sink</a></div><div class="ttdef"><b>Definition:</b> <a href="sink_8h_source.html#l00014">sink.h:14</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_a914a0d9aed02627be8cd287a2dee9916"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#a914a0d9aed02627be8cd287a2dee9916">spdlog::sinks::wincolor_sink::set_color</a></div><div class="ttdeci">void set_color(level::level_enum level, WORD color)</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00062">wincolor_sink.h:62</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_a8635f904f1dad9e60aaefe307e076f1d"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#a8635f904f1dad9e60aaefe307e076f1d">spdlog::sinks::wincolor_sink::RED</a></div><div class="ttdeci">const WORD RED</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00034">wincolor_sink.h:34</a></div></div>
<div class="ttc" id="common_8h_html"><div class="ttname"><a href="common_8h.html">common.h</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_ad2408ac4697dfee3c6631ceae432da64"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#ad2408ac4697dfee3c6631ceae432da64">spdlog::sinks::wincolor_sink::log</a></div><div class="ttdeci">void log(const details::log_msg &amp;msg) finaloverride</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00068">wincolor_sink.h:68</a></div></div>
<div class="ttc" id="classspdlog_1_1sinks_1_1wincolor__sink_html_a77ef730edcfe9f6f000bed8c846aa6bf"><div class="ttname"><a href="classspdlog_1_1sinks_1_1wincolor__sink.html#a77ef730edcfe9f6f000bed8c846aa6bf">spdlog::sinks::wincolor_sink::BOLD</a></div><div class="ttdeci">const WORD BOLD</div><div class="ttdef"><b>Definition:</b> <a href="wincolor__sink_8h_source.html#l00033">wincolor_sink.h:33</a></div></div>
<div class="ttc" id="namespacefmt_1_1v5_1_1internal_html_a1f190af8f5561392e03519562384d3b8"><div class="ttname"><a href="namespacefmt_1_1v5_1_1internal.html#a1f190af8f5561392e03519562384d3b8">fmt::v5::internal::end</a></div><div class="ttdeci">auto end(const C &amp;c) -&gt; decltype(c.end())</div><div class="ttdef"><b>Definition:</b> <a href="format_8h_source.html#l00257">format.h:257</a></div></div>
<div class="ttc" id="namespacespdlog_1_1level_html_a35f5227e5daf228d28a207b7b2aefc8ba309b214a2b8629b6cf0048ce916e8a58"><div class="ttname"><a href="namespacespdlog_1_1level.html#a35f5227e5daf228d28a207b7b2aefc8ba309b214a2b8629b6cf0048ce916e8a58">spdlog::level::critical</a></div><div class="ttdef"><b>Definition:</b> <a href="common_8h_source.html#l00118">common.h:118</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_5f1136fe404e0a548faf586fae339a6a.html">sdk_core</a></li><li class="navelem"><a class="el" href="dir_fef6b6f1028f30fedf17225feaaa02fe.html">include</a></li><li class="navelem"><a class="el" href="dir_7bb3e31efd6b819bbb0704cee4a66d41.html">third_party</a></li><li class="navelem"><a class="el" href="dir_cf58c3a45797022668a1e269b5315a33.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_248a80cf6760c7a1ab13394a1c16f7b2.html">spdlog</a></li><li class="navelem"><a class="el" href="dir_92a4bcc0ca1142b221c58a95a60bf3b6.html">sinks</a></li><li class="navelem"><a class="el" href="wincolor__sink_8h.html">wincolor_sink.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
